<!-- 与index.vue同级，替换index.vue 如果是组件就放在components中 -->
<template>
  <div class="menu-create">
    <!-- 将添加功能封装到了单独的组件 ./components/CreateOrEdit -->
    <create-or-edit></create-or-edit>
  </div>
</template>

<script>
import CreateOrEdit from './components/CreateOrEdit'

export default {
  // 导出当前组件的配置对象
  name: "MenuCreate",
  components: {
    CreateOrEdit
  }
};
</script>

<style lang="scss" scoped></style>
